package com.cenntro.repair.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cenntro.common.base.BaseServiceImpl;
import com.cenntro.repair.mapper.AfterRepairLogMapper;
import com.cenntro.repair.model.qo.AfterRepairFormQO;
import com.cenntro.repair.model.vo.RepairListVO;
import com.cenntro.repair.service.AfterRepairLogService;
/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2019-07-10
 */
@Service
public class AfterRepairLogServiceImpl extends BaseServiceImpl<AfterRepairLogMapper> implements AfterRepairLogService {

    
    @Resource
    private AfterRepairLogMapper afterRepairLogMapper;
    
    
    @Override
    public int insert(Object t) {
        int i = super.insert(t);
        
        //todo 
        //增加消息
        //增加通知
        return i;
    }

    /* (非 Javadoc)
    * <p>Title: selectList</p>
    * <p>Description: </p>
    * @param repairVO
    * @return
    * @see com.cenntro.repair.service.AfterRepairLogService#selectList(com.cenntro.repair.model.vo.AfterRepairFormVO)
    */
    @Override
    public List<RepairListVO> selectList(AfterRepairFormQO repairVO) {
        
        List<RepairListVO> list = afterRepairLogMapper.selectList(repairVO);
        return list;
    }
}
